package ysq.xyg.service;


import com.github.pagehelper.PageInfo;
import ysq.xyg.model.Product;

import java.util.List;

/**
 * @author yu sheng qiang
 * @create 2017-03-22 15:36
 **/
public interface ProductService extends  BaseService<Product> {
    //分页查询
    public PageInfo<Product> pageInfo(Product product, int pageSize, int pageNum);

    public PageInfo<Product> pageInfoLeft(Product product, int pageSize, int pageNum);
    public PageInfo<Product> pageInfoLeftK(Product product, int pageSize, int pageNum);
    public List<Product> listLeft(Product product);
    public List<Product> listLeftK(Product product);
    public Product selectById(String id);
    public int selectEntityCount(Product product);
    public List<Product> list(Product product);
    public Product selectData(Product product);
    public List<Product> selectDataList(Product product);
    public void updateByOpenid(Product product);
}
